//
//  RPSecureTimeModel.m
//  RPCFCADemo_Example
//
//  Created by john on 2022/10/25.
//  Copyright © 2022 john. All rights reserved.
//

#import "RPSecureTimeModel.h"

@implementation RPSecureTimeModel
- (BOOL)modelCustomTransformFromDictionary:(NSDictionary *)dic
{
    self.isSuccess = self.code == 0;
    
    if (self.isSuccess) {
        self.error = [NSError errorWithDomain:@"ddd" code:10000 userInfo:@{@"NSLocalizedDescriptionKey":@"错误"}];
    }
    return YES;
}
@end
